package com.bishe.bishe.entity;
/*
* 作为分页功能引用，具体看findPage
* */
import java.io.Serializable;
import java.util.List;

public class PageResult<T> implements Serializable {
    private Long total;
    private List<T> rows;

    public PageResult(Long total, List <T> rows) {
        this.total = total;
        this.rows = rows;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List <T> getRows() {
        return rows;
    }

    public void setRows(List <T> rows) {
        this.rows = rows;
    }
}
